import request from "@/api/index";

const login = ({ username, password }) => {
  return request({
    url: "/login",
    method: "post",
    data: {
      username,
      password,
    },
  });
};

const getUserTags = () => {
  return request({
    url: "/website/scaleResult/userTag",
    method: "get",
  });
};

export { login, getUserTags };
